<%-- 
    Document   : manutencaoProd
    Created on : May 4, 2012, 8:58:16 AM
    Author     : Afonso Rodrigues
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

        <title>Trabalho Carrinho</title>
        <!--        <link rel="stylesheet" type="text/javascript" href="../js/jquery-1.3.2.js"/>
                <link rel="stylesheet" type="text/javascript" href="../js/jquery-1.3.2.min.js"/>
                <link rel="stylesheet" type="text/javascript" href="../js/maskedInput.js"/>
        -->
    </head>

    <body background="../img/fundo.jpg">
        <div id="top">
            <c:import url="../templates/tempCab.jsp"/> 
        </div>
        <div> 

            <br><br><br><br><br>
            <br><br><br><br><br>
            <form name="pesquisa" action="../CrudServlet">
                <table border="0"  >
                    <tbody>
                        <tr>
                            <td>Marca</td>
                            <td><input type="text" name="marca" value="" /> <input type="submit" value="pesquisar" name="pesquisar" /></td>
                    </tbody>
                </table>

            </form>



            <fieldset name="Cadastrar">
                <form name="cadastro" action="../CrudServlet">
                    <table border="0">
                        <tbody>
                            <tr>
                                <td>Marca</td>
                                <td><input type="text" name="marca" value="" /></td>
                            </tr>
                            <tr>
                                <td>Preco(R$)</td>
                                <td><input type="text" name="preco" value="" class="dinheiro"/></td>

                            </tr>
                            <tr>
                                <td>Fornecedor</td>
                                <td><input type="text" name="fornecedor" value="" /></td>
                            </tr>
                            <tr>
                                <td>Quant em estoque</td>
                                <td><input type="text" name="qtdComp" value="" /></td>
                            </tr>
                        </tbody>
                    </table>
                    <input type="submit" value="incluir" name="cadastrar" />
                </form>
                <form name="opcoes" action="../FluxoServlet"><input type="submit" value="voltar" name="direcao"/>
                </form>
            </fieldset>  
        </div>

        <br><br><br><br><br><br><br><br>
        <br><br><br><br><br><br><br><br>

        <div id="bottom">
            <c:import url="../templates/tempRoda.jsp"/> 
        </div>

    </body>
    <script type="text/javascript">
        (function ($) {
            alert("testando2");
            alert("testando1");
            $(".fone input[type='text']").unmask().mask("9999-9999");
            $(".cpf input[type='text']").unmask().mask("999.999.999-99");
            $(".data input").unmask().mask("99/99/9999");
            $(".dinheiro input").maskMoney({decimal:",",thousands:"."});
            $(".dinheiroComPresisaoSeis input[type='text']").maskMoney({symbol:"R$",decimal:",",thousands:".",precision:6});
        })(jQuery);
    </script>
</html>
